package com.weme.matching.view

import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.widget.FrameLayout
import com.weme.common.util.setVisible
import com.weme.matching.databinding.ViewTapMatchBinding

class ViewTapMatch @JvmOverloads constructor(context: Context, attributeSet: AttributeSet? = null, defStyle: Int = 0) : FrameLayout(context, attributeSet, defStyle) {
    private val viewBinding = ViewTapMatchBinding.inflate(LayoutInflater.from(context), this, true)

    fun showLable(boolean: Boolean){
        viewBinding.imLabel.setVisible(boolean)
    }
}